package com.xpertline.ui.validator;

import org.jdesktop.beansbinding.Validator;

public class Length40Validator extends Validator<String> {

	@Override
	public Result validate(String paramT) {
		if(paramT.length() > 40) {
			return new Result(null, "The value must be less than 40");
		}
		return null;
	}

}
